<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta name="theme-color" content="#222"><meta name="generator" content="Hexo 6.3.0">

  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
  <link rel="mask-icon" href="/images/logo.svg" color="#222">

<link rel="stylesheet" href="/css/main.css">



<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" integrity="sha256-CTSx/A06dm1B063156EVh15m6Y67pAjZZaQc89LLSrU=" crossorigin="anonymous">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.1.1/animate.min.css" integrity="sha256-PR7ttpcvz8qrF57fur/yAx1qXMFJeJFiA6pSzWi0OIE=" crossorigin="anonymous">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancyapps-ui/5.0.24/fancybox/fancybox.css" integrity="sha256-vQkngPS8jiHHH0I6ABTZroZk8NPZ7b+MUReOFE9UsXQ=" crossorigin="anonymous">

<script class="next-config" data-name="main" type="application/json">{"hostname":"rjyblog.gitee.io","root":"/","images":"/images","scheme":"Pisces","darkmode":false,"version":"8.18.2","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12},"copycode":{"enable":true,"style":null},"fold":{"enable":false,"height":500},"bookmark":{"enable":false,"color":"#222","save":"auto"},"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"stickytabs":false,"motion":{"enable":true,"async":false,"transition":{"menu_item":"fadeInDown","post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果：${query}","hits_time":"找到 ${hits} 个搜索结果（用时 ${time} 毫秒）","hits":"找到 ${hits} 个搜索结果"},"path":"/search.xml","localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false}}</script><script src="/js/config.js"></script>

    <meta name="description" content="PlantUML样式指南">
<meta property="og:type" content="article">
<meta property="og:title" content="PlantUML样式指南">
<meta property="og:url" content="https://rjyblog.gitee.io/posts/32780962.html">
<meta property="og:site_name" content="任建勇的博客">
<meta property="og:description" content="PlantUML样式指南">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2023-09-01T08:03:09.000Z">
<meta property="article:modified_time" content="2023-09-01T09:45:25.517Z">
<meta property="article:author" content="Jason">
<meta property="article:tag" content="Markdown">
<meta property="article:tag" content="PlantUML">
<meta name="twitter:card" content="summary">


<link rel="canonical" href="https://rjyblog.gitee.io/posts/32780962.html">



<script class="next-config" data-name="page" type="application/json">{"sidebar":"","isHome":false,"isPost":true,"lang":"zh-CN","comments":true,"permalink":"https://rjyblog.gitee.io/posts/32780962.html","path":"posts/32780962.html","title":"PlantUML样式指南"}</script>

<script class="next-config" data-name="calendar" type="application/json">""</script>
<title>PlantUML样式指南 | 任建勇的博客</title>
  








  <noscript>
    <link rel="stylesheet" href="/css/noscript.css">
  </noscript>
</head>

<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
  <div class="headband"></div>

  <main class="main">
    <div class="column">
      <header class="header" itemscope itemtype="http://schema.org/WPHeader"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏" role="button">
        <span class="toggle-line"></span>
        <span class="toggle-line"></span>
        <span class="toggle-line"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/" class="brand" rel="start">
      <i class="logo-line"></i>
      <p class="site-title">任建勇的博客</p>
      <i class="logo-line"></i>
    </a>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger" aria-label="搜索" role="button">
        <i class="fa fa-search fa-fw fa-lg"></i>
    </div>
  </div>
</div>



<nav class="site-nav">
  <ul class="main-menu menu"><li class="menu-item menu-item-home"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li><li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li><li class="menu-item menu-item-categories"><a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a></li>
      <li class="menu-item menu-item-search">
        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
        </a>
      </li>
  </ul>
</nav>



  <div class="search-pop-overlay">
    <div class="popup search-popup"><div class="search-header">
  <span class="search-icon">
    <i class="fa fa-search"></i>
  </span>
  <div class="search-input-container">
    <input autocomplete="off" autocapitalize="off" maxlength="80"
           placeholder="搜索..." spellcheck="false"
           type="search" class="search-input">
  </div>
  <span class="popup-btn-close" role="button">
    <i class="fa fa-times-circle"></i>
  </span>
</div>
<div class="search-result-container no-result">
  <div class="search-result-icon">
    <i class="fa fa-spinner fa-pulse fa-5x"></i>
  </div>
</div>

    </div>
  </div>

</header>
        
  
  <aside class="sidebar">

    <div class="sidebar-inner sidebar-nav-active sidebar-toc-active">
      <ul class="sidebar-nav">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <div class="sidebar-panel-container">
        <!--noindex-->
        <div class="post-toc-wrap sidebar-panel">
            <div class="post-toc animated"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#%E8%BF%9E%E6%8E%A5%E7%BA%BF%E6%A0%B7%E5%BC%8F"><span class="nav-text">连接线样式</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E8%B0%83%E6%95%B4%E5%B8%83%E5%B1%80"><span class="nav-text">调整布局</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#%E6%94%B9%E5%8F%98%E8%BF%9E%E6%8E%A5%E7%BA%BF%E6%96%B9%E5%90%91"><span class="nav-text">改变连接线方向</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E4%BD%BF%E7%94%A8%E9%9A%90%E8%97%8F%E8%BF%9E%E6%8E%A5%E7%BA%BF"><span class="nav-text">使用隐藏连接线</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#together%E9%9A%90%E5%90%AB%E5%88%86%E7%BB%84"><span class="nav-text">together隐含分组</span></a></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E5%8F%82%E8%80%83%E6%96%87%E7%AB%A0"><span class="nav-text">参考文章</span></a></li></ol></div>
        </div>
        <!--/noindex-->

        <div class="site-overview-wrap sidebar-panel">
          <div class="site-author animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <img class="site-author-image" itemprop="image" alt="Jason"
      src="/images/avatar.png">
  <p class="site-author-name" itemprop="name">Jason</p>
  <div class="site-description" itemprop="description"></div>
</div>
<div class="site-state-wrap animated">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
        <a href="/archives/">
          <span class="site-state-item-count">66</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
          <a href="/categories/">
        <span class="site-state-item-count">13</span>
        <span class="site-state-item-name">分类</span></a>
      </div>
      <div class="site-state-item site-state-tags">
          <a href="/tags/">
        <span class="site-state-item-count">23</span>
        <span class="site-state-item-name">标签</span></a>
      </div>
  </nav>
</div>

        </div>
      </div>
    </div>

    
  </aside>


    </div>

    <div class="main-inner post posts-expand">


  


<div class="post-block">
  
  

  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="https://rjyblog.gitee.io/posts/32780962.html">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.png">
      <meta itemprop="name" content="Jason">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="任建勇的博客">
      <meta itemprop="description" content="">
    </span>

    <span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
      <meta itemprop="name" content="PlantUML样式指南 | 任建勇的博客">
      <meta itemprop="description" content="PlantUML样式指南">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          PlantUML样式指南
        </h1>

        <div class="post-meta-container">
          <div class="post-meta">
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar"></i>
      </span>
      <span class="post-meta-item-text">发表于</span>
      

      <time title="创建时间：2023-09-01 16:03:09 / 修改时间：17:45:25" itemprop="dateCreated datePublished" datetime="2023-09-01T16:03:09+08:00">2023-09-01</time>
    </span>

  
</div>

            <div class="post-description">PlantUML样式指南</div>
        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody"><h2 id="连接线样式"><a href="#连接线样式" class="headerlink" title="连接线样式"></a>连接线样式</h2><p>连接线的样式支持：bold, plain, dotted，dashed。设置颜色必须可以使用颜色名称，或者16进制的RGB样式，但是必须使用<code>#</code>开头。</p>
<figure class="highlight text"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">A -[dashed,#green]right-&gt; B</span><br><span class="line">A2 -[bold,#ff00ff]-&gt; B2</span><br></pre></td></tr></table></figure>

<?xml version="1.0" encoding="us-ascii" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" height="170px" preserveAspectRatio="none" style="width:150px;height:170px;background:#FFFFFF;" version="1.1" viewBox="0 0 150 170" width="150px" zoomAndPan="magnify"><defs/><g><!--class A1--><g id="elem_A1"><rect codeLine="1" fill="#F1F1F1" height="48" id="A1" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="51" x="7" y="115"/><ellipse cx="22" cy="131" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M24.3438,126.6719 C23.4063,126.2344 22.8125,126.0938 21.9375,126.0938 C19.3125,126.0938 17.3125,128.1719 17.3125,130.8906 L17.3125,132.0156 C17.3125,134.5938 19.4219,136.4844 22.3125,136.4844 C23.5313,136.4844 24.6875,136.1875 25.4375,135.6406 C26.0156,135.2344 26.3438,134.7813 26.3438,134.3906 C26.3438,133.9375 25.9531,133.5469 25.4844,133.5469 C25.2656,133.5469 25.0625,133.625 24.875,133.8125 C24.4219,134.2969 24.4219,134.2969 24.2344,134.3906 C23.8125,134.6563 23.125,134.7813 22.3594,134.7813 C20.3125,134.7813 19.0156,133.6875 19.0156,131.9844 L19.0156,130.8906 C19.0156,129.1094 20.2656,127.7969 22,127.7969 C22.5781,127.7969 23.1875,127.9531 23.6563,128.2031 C24.1406,128.4844 24.3125,128.7031 24.4063,129.1094 C24.4688,129.5156 24.5,129.6406 24.6406,129.7656 C24.7813,129.9063 25.0156,130.0156 25.2344,130.0156 C25.5,130.0156 25.7656,129.875 25.9375,129.6563 C26.0469,129.5 26.0781,129.3125 26.0781,128.8906 L26.0781,127.4688 C26.0781,127.0313 26.0625,126.9063 25.9688,126.75 C25.8125,126.4844 25.5313,126.3438 25.2344,126.3438 C24.9375,126.3438 24.7344,126.4375 24.5156,126.75 L24.3438,126.6719 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="19" x="36" y="135.8467">A1</text><line style="stroke:#181818;stroke-width:0.5;" x1="8" x2="57" y1="147" y2="147"/><line style="stroke:#181818;stroke-width:0.5;" x1="8" x2="57" y1="155" y2="155"/></g><!--class B1--><g id="elem_B1"><rect fill="#F1F1F1" height="48" id="B1" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="51" x="7" y="7"/><ellipse cx="22" cy="23" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M24.3438,18.6719 C23.4063,18.2344 22.8125,18.0938 21.9375,18.0938 C19.3125,18.0938 17.3125,20.1719 17.3125,22.8906 L17.3125,24.0156 C17.3125,26.5938 19.4219,28.4844 22.3125,28.4844 C23.5313,28.4844 24.6875,28.1875 25.4375,27.6406 C26.0156,27.2344 26.3438,26.7813 26.3438,26.3906 C26.3438,25.9375 25.9531,25.5469 25.4844,25.5469 C25.2656,25.5469 25.0625,25.625 24.875,25.8125 C24.4219,26.2969 24.4219,26.2969 24.2344,26.3906 C23.8125,26.6563 23.125,26.7813 22.3594,26.7813 C20.3125,26.7813 19.0156,25.6875 19.0156,23.9844 L19.0156,22.8906 C19.0156,21.1094 20.2656,19.7969 22,19.7969 C22.5781,19.7969 23.1875,19.9531 23.6563,20.2031 C24.1406,20.4844 24.3125,20.7031 24.4063,21.1094 C24.4688,21.5156 24.5,21.6406 24.6406,21.7656 C24.7813,21.9063 25.0156,22.0156 25.2344,22.0156 C25.5,22.0156 25.7656,21.875 25.9375,21.6563 C26.0469,21.5 26.0781,21.3125 26.0781,20.8906 L26.0781,19.4688 C26.0781,19.0313 26.0625,18.9063 25.9688,18.75 C25.8125,18.4844 25.5313,18.3438 25.2344,18.3438 C24.9375,18.3438 24.7344,18.4375 24.5156,18.75 L24.3438,18.6719 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="19" x="36" y="27.8467">B1</text><line style="stroke:#181818;stroke-width:0.5;" x1="8" x2="57" y1="39" y2="39"/><line style="stroke:#181818;stroke-width:0.5;" x1="8" x2="57" y1="47" y2="47"/></g><!--class A2--><g id="elem_A2"><rect fill="#F1F1F1" height="48" id="A2" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="50" x="93.5" y="7"/><ellipse cx="108.5" cy="23" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M110.8438,18.6719 C109.9063,18.2344 109.3125,18.0938 108.4375,18.0938 C105.8125,18.0938 103.8125,20.1719 103.8125,22.8906 L103.8125,24.0156 C103.8125,26.5938 105.9219,28.4844 108.8125,28.4844 C110.0313,28.4844 111.1875,28.1875 111.9375,27.6406 C112.5156,27.2344 112.8438,26.7813 112.8438,26.3906 C112.8438,25.9375 112.4531,25.5469 111.9844,25.5469 C111.7656,25.5469 111.5625,25.625 111.375,25.8125 C110.9219,26.2969 110.9219,26.2969 110.7344,26.3906 C110.3125,26.6563 109.625,26.7813 108.8594,26.7813 C106.8125,26.7813 105.5156,25.6875 105.5156,23.9844 L105.5156,22.8906 C105.5156,21.1094 106.7656,19.7969 108.5,19.7969 C109.0781,19.7969 109.6875,19.9531 110.1563,20.2031 C110.6406,20.4844 110.8125,20.7031 110.9063,21.1094 C110.9688,21.5156 111,21.6406 111.1406,21.7656 C111.2813,21.9063 111.5156,22.0156 111.7344,22.0156 C112,22.0156 112.2656,21.875 112.4375,21.6563 C112.5469,21.5 112.5781,21.3125 112.5781,20.8906 L112.5781,19.4688 C112.5781,19.0313 112.5625,18.9063 112.4688,18.75 C112.3125,18.4844 112.0313,18.3438 111.7344,18.3438 C111.4375,18.3438 111.2344,18.4375 111.0156,18.75 L110.8438,18.6719 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="18" x="122.5" y="27.8467">A2</text><line style="stroke:#181818;stroke-width:0.5;" x1="94.5" x2="142.5" y1="39" y2="39"/><line style="stroke:#181818;stroke-width:0.5;" x1="94.5" x2="142.5" y1="47" y2="47"/></g><!--class B2--><g id="elem_B2"><rect fill="#F1F1F1" height="48" id="B2" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="50" x="93.5" y="115"/><ellipse cx="108.5" cy="131" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M110.8438,126.6719 C109.9063,126.2344 109.3125,126.0938 108.4375,126.0938 C105.8125,126.0938 103.8125,128.1719 103.8125,130.8906 L103.8125,132.0156 C103.8125,134.5938 105.9219,136.4844 108.8125,136.4844 C110.0313,136.4844 111.1875,136.1875 111.9375,135.6406 C112.5156,135.2344 112.8438,134.7813 112.8438,134.3906 C112.8438,133.9375 112.4531,133.5469 111.9844,133.5469 C111.7656,133.5469 111.5625,133.625 111.375,133.8125 C110.9219,134.2969 110.9219,134.2969 110.7344,134.3906 C110.3125,134.6563 109.625,134.7813 108.8594,134.7813 C106.8125,134.7813 105.5156,133.6875 105.5156,131.9844 L105.5156,130.8906 C105.5156,129.1094 106.7656,127.7969 108.5,127.7969 C109.0781,127.7969 109.6875,127.9531 110.1563,128.2031 C110.6406,128.4844 110.8125,128.7031 110.9063,129.1094 C110.9688,129.5156 111,129.6406 111.1406,129.7656 C111.2813,129.9063 111.5156,130.0156 111.7344,130.0156 C112,130.0156 112.2656,129.875 112.4375,129.6563 C112.5469,129.5 112.5781,129.3125 112.5781,128.8906 L112.5781,127.4688 C112.5781,127.0313 112.5625,126.9063 112.4688,126.75 C112.3125,126.4844 112.0313,126.3438 111.7344,126.3438 C111.4375,126.3438 111.2344,126.4375 111.0156,126.75 L110.8438,126.6719 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="18" x="122.5" y="135.8467">B2</text><line style="stroke:#181818;stroke-width:0.5;" x1="94.5" x2="142.5" y1="147" y2="147"/><line style="stroke:#181818;stroke-width:0.5;" x1="94.5" x2="142.5" y1="155" y2="155"/></g><!--reverse link B1 to A1--><g id="link_B1_A1"><path codeLine="2" d="M32.5,61 C32.5,78.6584 32.5,96.9408 32.5,114.6784 " fill="none" id="B1-backto-A1" style="stroke:#008000;stroke-width:1.0;stroke-dasharray:7.0,7.0;"/><polygon fill="#008000" points="32.5,55,28.5,64,32.5,60,36.5,64,32.5,55" style="stroke:#008000;stroke-width:1.0;"/></g><!--link A2 to B2--><g id="link_A2_B2"><path codeLine="3" d="M118.5,55 C118.5,72.6584 118.5,90.9408 118.5,108.6784 " fill="none" id="A2-to-B2" style="stroke:#FF00FF;stroke-width:2.0;"/><polygon fill="#FF00FF" points="118.5,114.6784,122.5,105.6784,118.5,109.6784,114.5,105.6784,118.5,114.6784" style="stroke:#FF00FF;stroke-width:2.0;"/></g><!--SRC=[Iyv9B2vMS3JaSZHKq8rEIIpEI4tHKKulIatDYoqjqBLJS09A6G6bal9pW19fQGO6QMcn874Z0000]--></g></svg>

<p>也可以使用如下写法：</p>
<figure class="highlight text"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">A --&gt; B #blue;line.dashed;text:blue : 连接线</span><br></pre></td></tr></table></figure>

<?xml version="1.0" encoding="us-ascii" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" height="187px" preserveAspectRatio="none" style="width:76px;height:187px;background:#FFFFFF;" version="1.1" viewBox="0 0 76 187" width="76px" zoomAndPan="magnify"><defs/><g><!--class A--><g id="elem_A"><rect fill="#F1F1F1" height="48" id="A" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="42" x="7" y="7"/><ellipse cx="22" cy="23" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M24.3438,18.6719 C23.4063,18.2344 22.8125,18.0938 21.9375,18.0938 C19.3125,18.0938 17.3125,20.1719 17.3125,22.8906 L17.3125,24.0156 C17.3125,26.5938 19.4219,28.4844 22.3125,28.4844 C23.5313,28.4844 24.6875,28.1875 25.4375,27.6406 C26.0156,27.2344 26.3438,26.7813 26.3438,26.3906 C26.3438,25.9375 25.9531,25.5469 25.4844,25.5469 C25.2656,25.5469 25.0625,25.625 24.875,25.8125 C24.4219,26.2969 24.4219,26.2969 24.2344,26.3906 C23.8125,26.6563 23.125,26.7813 22.3594,26.7813 C20.3125,26.7813 19.0156,25.6875 19.0156,23.9844 L19.0156,22.8906 C19.0156,21.1094 20.2656,19.7969 22,19.7969 C22.5781,19.7969 23.1875,19.9531 23.6563,20.2031 C24.1406,20.4844 24.3125,20.7031 24.4063,21.1094 C24.4688,21.5156 24.5,21.6406 24.6406,21.7656 C24.7813,21.9063 25.0156,22.0156 25.2344,22.0156 C25.5,22.0156 25.7656,21.875 25.9375,21.6563 C26.0469,21.5 26.0781,21.3125 26.0781,20.8906 L26.0781,19.4688 C26.0781,19.0313 26.0625,18.9063 25.9688,18.75 C25.8125,18.4844 25.5313,18.3438 25.2344,18.3438 C24.9375,18.3438 24.7344,18.4375 24.5156,18.75 L24.3438,18.6719 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="10" x="36" y="27.8467">A</text><line style="stroke:#181818;stroke-width:0.5;" x1="8" x2="48" y1="39" y2="39"/><line style="stroke:#181818;stroke-width:0.5;" x1="8" x2="48" y1="47" y2="47"/></g><!--class B--><g id="elem_B"><rect fill="#F1F1F1" height="48" id="B" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="42" x="7" y="132"/><ellipse cx="22" cy="148" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M24.3438,143.6719 C23.4063,143.2344 22.8125,143.0938 21.9375,143.0938 C19.3125,143.0938 17.3125,145.1719 17.3125,147.8906 L17.3125,149.0156 C17.3125,151.5938 19.4219,153.4844 22.3125,153.4844 C23.5313,153.4844 24.6875,153.1875 25.4375,152.6406 C26.0156,152.2344 26.3438,151.7813 26.3438,151.3906 C26.3438,150.9375 25.9531,150.5469 25.4844,150.5469 C25.2656,150.5469 25.0625,150.625 24.875,150.8125 C24.4219,151.2969 24.4219,151.2969 24.2344,151.3906 C23.8125,151.6563 23.125,151.7813 22.3594,151.7813 C20.3125,151.7813 19.0156,150.6875 19.0156,148.9844 L19.0156,147.8906 C19.0156,146.1094 20.2656,144.7969 22,144.7969 C22.5781,144.7969 23.1875,144.9531 23.6563,145.2031 C24.1406,145.4844 24.3125,145.7031 24.4063,146.1094 C24.4688,146.5156 24.5,146.6406 24.6406,146.7656 C24.7813,146.9063 25.0156,147.0156 25.2344,147.0156 C25.5,147.0156 25.7656,146.875 25.9375,146.6563 C26.0469,146.5 26.0781,146.3125 26.0781,145.8906 L26.0781,144.4688 C26.0781,144.0313 26.0625,143.9063 25.9688,143.75 C25.8125,143.4844 25.5313,143.3438 25.2344,143.3438 C24.9375,143.3438 24.7344,143.4375 24.5156,143.75 L24.3438,143.6719 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="10" x="36" y="152.8467">B</text><line style="stroke:#181818;stroke-width:0.5;" x1="8" x2="48" y1="164" y2="164"/><line style="stroke:#181818;stroke-width:0.5;" x1="8" x2="48" y1="172" y2="172"/></g><!--link A to B--><g id="link_A_B"><path codeLine="1" d="M28,55.135 C28,77.126 28,104.0123 28,125.9684 " fill="none" id="A-to-B" style="stroke:#0000FF;stroke-width:1.0;stroke-dasharray:7.0,7.0;"/><polygon fill="#0000FF" points="28,131.9684,32,122.9684,28,126.9684,24,122.9684,28,131.9684" style="stroke:#0000FF;stroke-width:1.0;"/><text fill="#0000FF" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="39" x="29" y="98.0669">&#36830;&#25509;&#32447;</text></g><!--SRC=[SrJGrRLJS59GJiefJRNEoSnBrKj9BCv8JR4kIQqeiGA9AbWflDW_xrdVqkUxzWC0]--></g></svg>

<h2 id="调整布局"><a href="#调整布局" class="headerlink" title="调整布局"></a>调整布局</h2><p>PlantUML绘图会自动布局，但是如果想要手动对布局进行调整就很不方便，只能进行微调，没法做到精细的调整。</p>
<h3 id="改变连接线方向"><a href="#改变连接线方向" class="headerlink" title="改变连接线方向"></a>改变连接线方向</h3><p>连接线的方向支持left, right, up, down。也可以通过缩写表示，比如<code>-d-&gt;</code>。</p>
<figure class="highlight text"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">Center -left-&gt; Left</span><br><span class="line">Center -up-&gt; Up</span><br><span class="line">Center -down-&gt; Down</span><br><span class="line">Center -right-&gt; Right</span><br></pre></td></tr></table></figure>

<?xml version="1.0" encoding="us-ascii" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" height="278px" preserveAspectRatio="none" style="width:299px;height:278px;background:#FFFFFF;" version="1.1" viewBox="0 0 299 278" width="299px" zoomAndPan="magnify"><defs/><g><!--class Center--><g id="elem_Center"><rect fill="#F1F1F1" height="48" id="Center" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="82" x="104" y="115"/><ellipse cx="119" cy="131" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M121.3438,126.6719 C120.4063,126.2344 119.8125,126.0938 118.9375,126.0938 C116.3125,126.0938 114.3125,128.1719 114.3125,130.8906 L114.3125,132.0156 C114.3125,134.5938 116.4219,136.4844 119.3125,136.4844 C120.5313,136.4844 121.6875,136.1875 122.4375,135.6406 C123.0156,135.2344 123.3438,134.7813 123.3438,134.3906 C123.3438,133.9375 122.9531,133.5469 122.4844,133.5469 C122.2656,133.5469 122.0625,133.625 121.875,133.8125 C121.4219,134.2969 121.4219,134.2969 121.2344,134.3906 C120.8125,134.6563 120.125,134.7813 119.3594,134.7813 C117.3125,134.7813 116.0156,133.6875 116.0156,131.9844 L116.0156,130.8906 C116.0156,129.1094 117.2656,127.7969 119,127.7969 C119.5781,127.7969 120.1875,127.9531 120.6563,128.2031 C121.1406,128.4844 121.3125,128.7031 121.4063,129.1094 C121.4688,129.5156 121.5,129.6406 121.6406,129.7656 C121.7813,129.9063 122.0156,130.0156 122.2344,130.0156 C122.5,130.0156 122.7656,129.875 122.9375,129.6563 C123.0469,129.5 123.0781,129.3125 123.0781,128.8906 L123.0781,127.4688 C123.0781,127.0313 123.0625,126.9063 122.9688,126.75 C122.8125,126.4844 122.5313,126.3438 122.2344,126.3438 C121.9375,126.3438 121.7344,126.4375 121.5156,126.75 L121.3438,126.6719 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="50" x="133" y="135.8467">Center</text><line style="stroke:#181818;stroke-width:0.5;" x1="105" x2="185" y1="147" y2="147"/><line style="stroke:#181818;stroke-width:0.5;" x1="105" x2="185" y1="155" y2="155"/></g><!--class Left--><g id="elem_Left"><rect fill="#F1F1F1" height="48" id="Left" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="62" x="7" y="115"/><ellipse cx="22" cy="131" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M24.3438,126.6719 C23.4063,126.2344 22.8125,126.0938 21.9375,126.0938 C19.3125,126.0938 17.3125,128.1719 17.3125,130.8906 L17.3125,132.0156 C17.3125,134.5938 19.4219,136.4844 22.3125,136.4844 C23.5313,136.4844 24.6875,136.1875 25.4375,135.6406 C26.0156,135.2344 26.3438,134.7813 26.3438,134.3906 C26.3438,133.9375 25.9531,133.5469 25.4844,133.5469 C25.2656,133.5469 25.0625,133.625 24.875,133.8125 C24.4219,134.2969 24.4219,134.2969 24.2344,134.3906 C23.8125,134.6563 23.125,134.7813 22.3594,134.7813 C20.3125,134.7813 19.0156,133.6875 19.0156,131.9844 L19.0156,130.8906 C19.0156,129.1094 20.2656,127.7969 22,127.7969 C22.5781,127.7969 23.1875,127.9531 23.6563,128.2031 C24.1406,128.4844 24.3125,128.7031 24.4063,129.1094 C24.4688,129.5156 24.5,129.6406 24.6406,129.7656 C24.7813,129.9063 25.0156,130.0156 25.2344,130.0156 C25.5,130.0156 25.7656,129.875 25.9375,129.6563 C26.0469,129.5 26.0781,129.3125 26.0781,128.8906 L26.0781,127.4688 C26.0781,127.0313 26.0625,126.9063 25.9688,126.75 C25.8125,126.4844 25.5313,126.3438 25.2344,126.3438 C24.9375,126.3438 24.7344,126.4375 24.5156,126.75 L24.3438,126.6719 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="30" x="36" y="135.8467">Left</text><line style="stroke:#181818;stroke-width:0.5;" x1="8" x2="68" y1="147" y2="147"/><line style="stroke:#181818;stroke-width:0.5;" x1="8" x2="68" y1="155" y2="155"/></g><!--class Up--><g id="elem_Up"><rect fill="#F1F1F1" height="48" id="Up" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="51" x="119.5" y="7"/><ellipse cx="134.5" cy="23" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M136.8438,18.6719 C135.9063,18.2344 135.3125,18.0938 134.4375,18.0938 C131.8125,18.0938 129.8125,20.1719 129.8125,22.8906 L129.8125,24.0156 C129.8125,26.5938 131.9219,28.4844 134.8125,28.4844 C136.0313,28.4844 137.1875,28.1875 137.9375,27.6406 C138.5156,27.2344 138.8438,26.7813 138.8438,26.3906 C138.8438,25.9375 138.4531,25.5469 137.9844,25.5469 C137.7656,25.5469 137.5625,25.625 137.375,25.8125 C136.9219,26.2969 136.9219,26.2969 136.7344,26.3906 C136.3125,26.6563 135.625,26.7813 134.8594,26.7813 C132.8125,26.7813 131.5156,25.6875 131.5156,23.9844 L131.5156,22.8906 C131.5156,21.1094 132.7656,19.7969 134.5,19.7969 C135.0781,19.7969 135.6875,19.9531 136.1563,20.2031 C136.6406,20.4844 136.8125,20.7031 136.9063,21.1094 C136.9688,21.5156 137,21.6406 137.1406,21.7656 C137.2813,21.9063 137.5156,22.0156 137.7344,22.0156 C138,22.0156 138.2656,21.875 138.4375,21.6563 C138.5469,21.5 138.5781,21.3125 138.5781,20.8906 L138.5781,19.4688 C138.5781,19.0313 138.5625,18.9063 138.4688,18.75 C138.3125,18.4844 138.0313,18.3438 137.7344,18.3438 C137.4375,18.3438 137.2344,18.4375 137.0156,18.75 L136.8438,18.6719 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="19" x="148.5" y="27.8467">Up</text><line style="stroke:#181818;stroke-width:0.5;" x1="120.5" x2="169.5" y1="39" y2="39"/><line style="stroke:#181818;stroke-width:0.5;" x1="120.5" x2="169.5" y1="47" y2="47"/></g><!--class Down--><g id="elem_Down"><rect fill="#F1F1F1" height="48" id="Down" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="72" x="109" y="223"/><ellipse cx="124" cy="239" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M126.3438,234.6719 C125.4063,234.2344 124.8125,234.0938 123.9375,234.0938 C121.3125,234.0938 119.3125,236.1719 119.3125,238.8906 L119.3125,240.0156 C119.3125,242.5938 121.4219,244.4844 124.3125,244.4844 C125.5313,244.4844 126.6875,244.1875 127.4375,243.6406 C128.0156,243.2344 128.3438,242.7813 128.3438,242.3906 C128.3438,241.9375 127.9531,241.5469 127.4844,241.5469 C127.2656,241.5469 127.0625,241.625 126.875,241.8125 C126.4219,242.2969 126.4219,242.2969 126.2344,242.3906 C125.8125,242.6563 125.125,242.7813 124.3594,242.7813 C122.3125,242.7813 121.0156,241.6875 121.0156,239.9844 L121.0156,238.8906 C121.0156,237.1094 122.2656,235.7969 124,235.7969 C124.5781,235.7969 125.1875,235.9531 125.6563,236.2031 C126.1406,236.4844 126.3125,236.7031 126.4063,237.1094 C126.4688,237.5156 126.5,237.6406 126.6406,237.7656 C126.7813,237.9063 127.0156,238.0156 127.2344,238.0156 C127.5,238.0156 127.7656,237.875 127.9375,237.6563 C128.0469,237.5 128.0781,237.3125 128.0781,236.8906 L128.0781,235.4688 C128.0781,235.0313 128.0625,234.9063 127.9688,234.75 C127.8125,234.4844 127.5313,234.3438 127.2344,234.3438 C126.9375,234.3438 126.7344,234.4375 126.5156,234.75 L126.3438,234.6719 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="40" x="138" y="243.8467">Down</text><line style="stroke:#181818;stroke-width:0.5;" x1="110" x2="180" y1="255" y2="255"/><line style="stroke:#181818;stroke-width:0.5;" x1="110" x2="180" y1="263" y2="263"/></g><!--class Right--><g id="elem_Right"><rect fill="#F1F1F1" height="48" id="Right" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="71" x="221.5" y="115"/><ellipse cx="236.5" cy="131" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1.0;"/><path d="M238.8438,126.6719 C237.9063,126.2344 237.3125,126.0938 236.4375,126.0938 C233.8125,126.0938 231.8125,128.1719 231.8125,130.8906 L231.8125,132.0156 C231.8125,134.5938 233.9219,136.4844 236.8125,136.4844 C238.0313,136.4844 239.1875,136.1875 239.9375,135.6406 C240.5156,135.2344 240.8438,134.7813 240.8438,134.3906 C240.8438,133.9375 240.4531,133.5469 239.9844,133.5469 C239.7656,133.5469 239.5625,133.625 239.375,133.8125 C238.9219,134.2969 238.9219,134.2969 238.7344,134.3906 C238.3125,134.6563 237.625,134.7813 236.8594,134.7813 C234.8125,134.7813 233.5156,133.6875 233.5156,131.9844 L233.5156,130.8906 C233.5156,129.1094 234.7656,127.7969 236.5,127.7969 C237.0781,127.7969 237.6875,127.9531 238.1563,128.2031 C238.6406,128.4844 238.8125,128.7031 238.9063,129.1094 C238.9688,129.5156 239,129.6406 239.1406,129.7656 C239.2813,129.9063 239.5156,130.0156 239.7344,130.0156 C240,130.0156 240.2656,129.875 240.4375,129.6563 C240.5469,129.5 240.5781,129.3125 240.5781,128.8906 L240.5781,127.4688 C240.5781,127.0313 240.5625,126.9063 240.4688,126.75 C240.3125,126.4844 240.0313,126.3438 239.7344,126.3438 C239.4375,126.3438 239.2344,126.4375 239.0156,126.75 L238.8438,126.6719 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="39" x="250.5" y="135.8467">Right</text><line style="stroke:#181818;stroke-width:0.5;" x1="222.5" x2="291.5" y1="147" y2="147"/><line style="stroke:#181818;stroke-width:0.5;" x1="222.5" x2="291.5" y1="155" y2="155"/></g><!--reverse link Left to Center--><g id="link_Left_Center"><path codeLine="1" d="M75.3477,139 C86.8728,139 92.398,139 103.9231,139 " fill="none" id="Left-backto-Center" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="#181818" points="69.3477,139,78.3477,143,74.3477,139,78.3477,135,69.3477,139" style="stroke:#181818;stroke-width:1.0;"/></g><!--reverse link Up to Center--><g id="link_Up_Center"><path codeLine="2" d="M145,61 C145,78.658 145,96.941 145,114.678 " fill="none" id="Up-backto-Center" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="#181818" points="145,55,141,64,145,60,149,64,145,55" style="stroke:#181818;stroke-width:1.0;"/></g><!--link Center to Down--><g id="link_Center_Down"><path codeLine="3" d="M145,163 C145,180.6584 145,198.9408 145,216.6784 " fill="none" id="Center-to-Down" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="#181818" points="145,222.6784,149,213.6784,145,217.6784,141,213.6784,145,222.6784" style="stroke:#181818;stroke-width:1.0;"/></g><!--link Center to Right--><g id="link_Center_Right"><path codeLine="4" d="M186.125,139 C197.845,139 203.565,139 215.286,139 " fill="none" id="Center-to-Right" style="stroke:#181818;stroke-width:1.0;"/><polygon fill="#181818" points="221.286,139,212.286,135,216.286,139,212.286,143,221.286,139" style="stroke:#181818;stroke-width:1.0;"/></g><!--SRC=[SqxDAqajKj3DIKqhqRLJy05INCvGiT82e4Xe0PoVab-U1nHn0L9miQBCz0oGnY0G3G00]--></g></svg>

<p>但是，当图形比较复杂时，改变方向有时候也无法达到理想的效果。</p>
<h3 id="使用隐藏连接线"><a href="#使用隐藏连接线" class="headerlink" title="使用隐藏连接线"></a>使用隐藏连接线</h3><figure class="highlight text"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">[a]</span><br><span class="line">[b]</span><br><span class="line">[c]</span><br><span class="line">[d]</span><br><span class="line">a - b</span><br><span class="line">c - d</span><br><span class="line">a -[hidden]up- c</span><br></pre></td></tr></table></figure>

<?xml version="1.0" encoding="us-ascii" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" height="165px" preserveAspectRatio="none" style="width:146px;height:165px;background:#FFFFFF;" version="1.1" viewBox="0 0 146 165" width="146px" zoomAndPan="magnify"><defs/><g><!--entity a--><g id="elem_a"><rect fill="#F1F1F1" height="46.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="48" x="7" y="113"/><rect fill="#F1F1F1" height="10" style="stroke:#181818;stroke-width:0.5;" width="15" x="35" y="118"/><rect fill="#F1F1F1" height="2" style="stroke:#181818;stroke-width:0.5;" width="4" x="33" y="120"/><rect fill="#F1F1F1" height="2" style="stroke:#181818;stroke-width:0.5;" width="4" x="33" y="124"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="8" x="22" y="145.9951">a</text></g><!--entity b--><g id="elem_b"><rect fill="#F1F1F1" height="46.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="50" x="90" y="113"/><rect fill="#F1F1F1" height="10" style="stroke:#181818;stroke-width:0.5;" width="15" x="120" y="118"/><rect fill="#F1F1F1" height="2" style="stroke:#181818;stroke-width:0.5;" width="4" x="118" y="120"/><rect fill="#F1F1F1" height="2" style="stroke:#181818;stroke-width:0.5;" width="4" x="118" y="124"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="10" x="105" y="145.9951">b</text></g><!--entity c--><g id="elem_c"><rect fill="#F1F1F1" height="46.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="48" x="7" y="7"/><rect fill="#F1F1F1" height="10" style="stroke:#181818;stroke-width:0.5;" width="15" x="35" y="12"/><rect fill="#F1F1F1" height="2" style="stroke:#181818;stroke-width:0.5;" width="4" x="33" y="14"/><rect fill="#F1F1F1" height="2" style="stroke:#181818;stroke-width:0.5;" width="4" x="33" y="18"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="8" x="22" y="39.9951">c</text></g><!--entity d--><g id="elem_d"><rect fill="#F1F1F1" height="46.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="49" x="90.5" y="7"/><rect fill="#F1F1F1" height="10" style="stroke:#181818;stroke-width:0.5;" width="15" x="119.5" y="12"/><rect fill="#F1F1F1" height="2" style="stroke:#181818;stroke-width:0.5;" width="4" x="117.5" y="14"/><rect fill="#F1F1F1" height="2" style="stroke:#181818;stroke-width:0.5;" width="4" x="117.5" y="18"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="9" x="105.5" y="39.9951">d</text></g><!--link a to b--><g id="link_a_b"><path d="M55.2812,136 C66.7896,136 78.2979,136 89.8062,136 " fill="none" id="a-b" style="stroke:#181818;stroke-width:1.0;"/></g><!--link c to d--><g id="link_c_d"><path d="M55.2812,30 C66.9451,30 78.6089,30 90.2727,30 " fill="none" id="c-d" style="stroke:#181818;stroke-width:1.0;"/></g><!--link c to a--><!--SRC=[YqwCvOfE0k9a84w9vKfKq5L8uae6aYaWTdH6PafAQbviQO6kGZ80]--></g></svg>

<h3 id="together隐含分组"><a href="#together隐含分组" class="headerlink" title="together隐含分组"></a>together隐含分组</h3><figure class="highlight text"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">together &#123;</span><br><span class="line">  [a]</span><br><span class="line">  [b]</span><br><span class="line">&#125;</span><br><span class="line">[c]</span><br><span class="line">a -- b</span><br><span class="line">a -- c</span><br></pre></td></tr></table></figure>

<?xml version="1.0" encoding="us-ascii" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" height="165px" preserveAspectRatio="none" style="width:146px;height:165px;background:#FFFFFF;" version="1.1" viewBox="0 0 146 165" width="146px" zoomAndPan="magnify"><defs/><g><!--entity a--><g id="elem_a"><rect fill="#F1F1F1" height="46.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="48" x="8" y="7"/><rect fill="#F1F1F1" height="10" style="stroke:#181818;stroke-width:0.5;" width="15" x="36" y="12"/><rect fill="#F1F1F1" height="2" style="stroke:#181818;stroke-width:0.5;" width="4" x="34" y="14"/><rect fill="#F1F1F1" height="2" style="stroke:#181818;stroke-width:0.5;" width="4" x="34" y="18"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="8" x="23" y="39.9951">a</text></g><!--entity b--><g id="elem_b"><rect fill="#F1F1F1" height="46.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="50" x="7" y="113"/><rect fill="#F1F1F1" height="10" style="stroke:#181818;stroke-width:0.5;" width="15" x="37" y="118"/><rect fill="#F1F1F1" height="2" style="stroke:#181818;stroke-width:0.5;" width="4" x="35" y="120"/><rect fill="#F1F1F1" height="2" style="stroke:#181818;stroke-width:0.5;" width="4" x="35" y="124"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="10" x="22" y="145.9951">b</text></g><!--entity c--><g id="elem_c"><rect fill="#F1F1F1" height="46.2969" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:0.5;" width="48" x="92" y="113"/><rect fill="#F1F1F1" height="10" style="stroke:#181818;stroke-width:0.5;" width="15" x="120" y="118"/><rect fill="#F1F1F1" height="2" style="stroke:#181818;stroke-width:0.5;" width="4" x="118" y="120"/><rect fill="#F1F1F1" height="2" style="stroke:#181818;stroke-width:0.5;" width="4" x="118" y="124"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="8" x="107" y="145.9951">c</text></g><!--link a to b--><g id="link_a_b"><path d="M32,53.056 C32,70.705 32,95.3353 32,112.9761 " fill="none" id="a-b" style="stroke:#181818;stroke-width:1.0;"/></g><!--link a to c--><g id="link_a_c"><path d="M49.8142,53.056 C64.0693,70.705 83.9631,95.3353 98.211,112.9761 " fill="none" id="a-c" style="stroke:#181818;stroke-width:1.0;"/></g><!--SRC=[AybFJot9I2rIgEPIK8XEZ0MHIR5SjLpHoR5SYGgwkWf942eP0000]--></g></svg>

<h2 id="参考文章"><a href="#参考文章" class="headerlink" title="参考文章"></a>参考文章</h2><p><a target="_blank" rel="noopener external nofollow noreferrer" href="https://www.augmentedmind.de/2021/01/17/plantuml-layout-tutorial-styles/">PlantUML layout and styles tutorial</a></p>

    </div>

    
    
    

    <footer class="post-footer">
          <div class="post-tags">
              <a href="/tags/Markdown/" rel="tag"># Markdown</a>
              <a href="/tags/PlantUML/" rel="tag"># PlantUML</a>
          </div>

        

          <div class="post-nav">
            <div class="post-nav-item">
                <a href="/posts/863074da.html" rel="prev" title="Fresco源码详解">
                  <i class="fa fa-angle-left"></i> Fresco源码详解
                </a>
            </div>
            <div class="post-nav-item">
                <a href="/posts/c7038aa0.html" rel="next" title="Java 公平锁和非公平锁">
                  Java 公平锁和非公平锁 <i class="fa fa-angle-right"></i>
                </a>
            </div>
          </div>
    </footer>
  </article>
</div>






</div>
  </main>

  <footer class="footer">
    <div class="footer-inner">

  <div class="copyright">
    &copy; 
    <span itemprop="copyrightYear">2024</span>
    <span class="with-love">
      <i class="fa fa-heart"></i>
    </span>
    <span class="author" itemprop="copyrightHolder">Jason</span>
  </div>
  <div class="powered-by">由 <a href="https://hexo.io/" rel="noopener external nofollow noreferrer" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/pisces/" rel="noopener external nofollow noreferrer" target="_blank">NexT.Pisces</a> 强力驱动
  </div>

    </div>
  </footer>

  
  <div class="back-to-top" role="button" aria-label="返回顶部">
    <i class="fa fa-arrow-up fa-lg"></i>
    <span>0%</span>
  </div>

<noscript>
  <div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
</noscript>


  
  <script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/3.2.1/anime.min.js" integrity="sha256-XL2inqUJaslATFnHdJOi9GfQ60on8Wx1C2H8DYiN1xY=" crossorigin="anonymous"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/next-theme-pjax/0.6.0/pjax.min.js" integrity="sha256-vxLn1tSKWD4dqbMRyv940UYw4sXgMtYcK6reefzZrao=" crossorigin="anonymous"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/fancyapps-ui/5.0.24/fancybox/fancybox.umd.js" integrity="sha256-oyhjPiYRWGXaAt+ny/mTMWOnN1GBoZDUQnzzgC7FRI4=" crossorigin="anonymous"></script>
<script src="/js/comments.js"></script><script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/next-boot.js"></script><script src="/js/pjax.js"></script>

  <script src="https://cdnjs.cloudflare.com/ajax/libs/hexo-generator-searchdb/1.4.1/search.js" integrity="sha256-1kfA5uHPf65M5cphT2dvymhkuyHPQp5A53EGZOnOLmc=" crossorigin="anonymous"></script>
<script src="/js/third-party/search/local-search.js"></script>


  <script class="next-config" data-name="mermaid" type="application/json">{"enable":true,"theme":{"light":"default","dark":"dark"},"js":{"url":"https://cdnjs.cloudflare.com/ajax/libs/mermaid/10.5.0/mermaid.min.js","integrity":"sha256-K7oJiQlDulzl24ZUFOywuYme1JqBBvQzK6m8qHjt9Gk="}}</script>
  <script type="module" src="/js/zenuml-definition-074a43fa.js"></script>
  <script type="module" src="/js/mermaid-zenuml.esm.min.mjs"></script>
  <script src="/js/third-party/tags/mermaid.js"></script>


  <script src="/js/third-party/fancybox.js"></script>



  




  

  <script class="next-config" data-name="enableMath" type="application/json">true</script><script class="next-config" data-name="mathjax" type="application/json">{"enable":true,"tags":"none","js":{"url":"https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.2.2/es5/tex-mml-chtml.js","integrity":"sha256-MASABpB4tYktI2Oitl4t+78w/lyA+D7b/s9GEP0JOGI="}}</script>
<script src="/js/third-party/math/mathjax.js"></script>



</body>
</html>
